<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - id:000977,sync:fuzzer2,src:001052.lcov_info_final - test/integration/handler_spec_test.cpp</title>
  <link rel="stylesheet" type="text/css" href="../../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="35%" class="headerValue"><a href="../../index.html">top level</a> - <a href="index.html">test/integration</a> - handler_spec_test.cpp<span style="font-size: 80%;"> (source / <a href="handler_spec_test.cpp.func-sort-c.html">functions</a>)</span></td>
            <td width="5%"></td>
            <td width="15%"></td>
            <td width="10%" class="headerCovTableHead">Hit</td>
            <td width="10%" class="headerCovTableHead">Total</td>
            <td width="15%" class="headerCovTableHead">Coverage</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">id:000977,sync:fuzzer2,src:001052.lcov_info_final</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">1412</td>
            <td class="headerCovTableEntryLo">0.0 %</td>
          </tr>
          <tr>
            <td class="headerItem">Date:</td>
            <td class="headerValue">2016-03-13 10:42:47</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">450</td>
            <td class="headerCovTableEntryLo">0.0 %</td>
          </tr>
          <tr><td><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>

    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td>
<pre class="sourceHeading">          Line data    Source code</pre>
<pre class="source">
<a name="1"><span class="lineNum">       1 </span>            : #include &quot;handler_test.h&quot;</a>
<span class="lineNum">       2 </span>            : #include &quot;specexamples.h&quot;   // IWYU pragma: keep
<span class="lineNum">       3 </span>            : #include &quot;yaml-cpp/yaml.h&quot;  // IWYU pragma: keep
<span class="lineNum">       4 </span>            : 
<span class="lineNum">       5 </span>            : #include &quot;gmock/gmock.h&quot;
<span class="lineNum">       6 </span>            : #include &quot;gtest/gtest.h&quot;
<span class="lineNum">       7 </span>            : 
<span class="lineNum">       8 </span>            : using ::testing::_;
<span class="lineNum">       9 </span>            : 
<span class="lineNum">      10 </span>            : #define EXPECT_THROW_PARSER_EXCEPTION(statement, message) \
<span class="lineNum">      11 </span>            :   ASSERT_THROW(statement, ParserException);               \
<span class="lineNum">      12 </span>            :   try {                                                   \
<span class="lineNum">      13 </span>            :     statement;                                            \
<span class="lineNum">      14 </span>            :   } catch (const ParserException&amp; e) {                    \
<span class="lineNum">      15 </span>            :     EXPECT_EQ(e.msg, message);                            \
<span class="lineNum">      16 </span>            :   }
<span class="lineNum">      17 </span>            : 
<span class="lineNum">      18 </span>            : namespace YAML {
<span class="lineNum">      19 </span>            : namespace {
<span class="lineNum">      20 </span>            : 
<a name="21"><span class="lineNum">      21 </span>            : typedef HandlerTest HandlerSpecTest;</a>
<span class="lineNum">      22 </span>            : 
<span class="lineNum">      23 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_1_SeqScalars) {</span>
<span class="lineNum">      24 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">      25 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      26 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">      27 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">      28 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">      29 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">      30 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">      31 </span><span class="lineNoCov">          0 :   Parse(ex2_1);</span>
<a name="32"><span class="lineNum">      32 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">      33 </span>            : 
<span class="lineNum">      34 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_2_MappingScalarsToScalars) {</span>
<span class="lineNum">      35 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">      36 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      37 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">      38 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">      39 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">      40 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.278&quot;));</span>
<span class="lineNum">      41 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;rbi&quot;));</span>
<span class="lineNum">      42 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;147&quot;));</span>
<span class="lineNum">      43 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">      44 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">      45 </span><span class="lineNoCov">          0 :   Parse(ex2_2);</span>
<a name="46"><span class="lineNum">      46 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">      47 </span>            : 
<span class="lineNum">      48 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_3_MappingScalarsToSequences) {</span>
<span class="lineNum">      49 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">      50 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      51 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;american&quot;));</span>
<span class="lineNum">      52 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      53 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Boston Red Sox&quot;));</span>
<span class="lineNum">      54 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Detroit Tigers&quot;));</span>
<span class="lineNum">      55 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;New York Yankees&quot;));</span>
<span class="lineNum">      56 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">      57 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;national&quot;));</span>
<span class="lineNum">      58 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      59 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;New York Mets&quot;));</span>
<span class="lineNum">      60 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Chicago Cubs&quot;));</span>
<span class="lineNum">      61 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Atlanta Braves&quot;));</span>
<span class="lineNum">      62 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">      63 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">      64 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">      65 </span><span class="lineNoCov">          0 :   Parse(ex2_3);</span>
<a name="66"><span class="lineNum">      66 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">      67 </span>            : 
<span class="lineNum">      68 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_4_SequenceOfMappings) {</span>
<span class="lineNum">      69 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">      70 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      71 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      72 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;name&quot;));</span>
<span class="lineNum">      73 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">      74 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">      75 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">      76 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">      77 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.278&quot;));</span>
<span class="lineNum">      78 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">      79 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      80 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;name&quot;));</span>
<span class="lineNum">      81 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">      82 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">      83 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;63&quot;));</span>
<span class="lineNum">      84 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">      85 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.288&quot;));</span>
<span class="lineNum">      86 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">      87 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">      88 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">      89 </span><span class="lineNoCov">          0 :   Parse(ex2_4);</span>
<a name="90"><span class="lineNum">      90 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">      91 </span>            : 
<span class="lineNum">      92 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_5_SequenceOfSequences) {</span>
<span class="lineNum">      93 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">      94 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">      95 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">      96 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;name&quot;));</span>
<span class="lineNum">      97 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">      98 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">      99 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     100 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     101 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     102 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">     103 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.278&quot;));</span>
<span class="lineNum">     104 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     105 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     106 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     107 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;63&quot;));</span>
<span class="lineNum">     108 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.288&quot;));</span>
<span class="lineNum">     109 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     110 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     111 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     112 </span><span class="lineNoCov">          0 :   Parse(ex2_5);</span>
<a name="113"><span class="lineNum">     113 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     114 </span>            : 
<span class="lineNum">     115 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_6_MappingOfMappings) {</span>
<span class="lineNum">     116 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     117 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     118 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     119 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     120 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">     121 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">     122 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">     123 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.278&quot;));</span>
<span class="lineNum">     124 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     125 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     126 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     127 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">     128 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;63&quot;));</span>
<span class="lineNum">     129 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">     130 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.288&quot;));</span>
<span class="lineNum">     131 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     132 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     133 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     134 </span><span class="lineNoCov">          0 :   Parse(ex2_6);</span>
<a name="135"><span class="lineNum">     135 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     136 </span>            : 
<span class="lineNum">     137 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_7_TwoDocumentsInAStream) {</span>
<span class="lineNum">     138 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     139 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     140 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     141 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     142 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">     143 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     144 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     145 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     146 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     147 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Chicago Cubs&quot;));</span>
<span class="lineNum">     148 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;St Louis Cardinals&quot;));</span>
<span class="lineNum">     149 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     150 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     151 </span><span class="lineNoCov">          0 :   Parse(ex2_7);</span>
<a name="152"><span class="lineNum">     152 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     153 </span>            : 
<span class="lineNum">     154 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_8_PlayByPlayFeed) {</span>
<span class="lineNum">     155 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     156 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     157 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;time&quot;));</span>
<span class="lineNum">     158 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;20:03:20&quot;));</span>
<span class="lineNum">     159 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;player&quot;));</span>
<span class="lineNum">     160 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     161 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;action&quot;));</span>
<span class="lineNum">     162 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;strike (miss)&quot;));</span>
<span class="lineNum">     163 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     164 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     165 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     166 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     167 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;time&quot;));</span>
<span class="lineNum">     168 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;20:03:47&quot;));</span>
<span class="lineNum">     169 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;player&quot;));</span>
<span class="lineNum">     170 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     171 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;action&quot;));</span>
<span class="lineNum">     172 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;grand slam&quot;));</span>
<span class="lineNum">     173 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     174 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     175 </span><span class="lineNoCov">          0 :   Parse(ex2_8);</span>
<a name="176"><span class="lineNum">     176 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     177 </span>            : 
<span class="lineNum">     178 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_9_SingleDocumentWithTwoComments) {</span>
<span class="lineNum">     179 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     180 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     181 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">     182 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     183 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     184 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     185 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     186 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;rbi&quot;));</span>
<span class="lineNum">     187 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     188 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     189 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">     190 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     191 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     192 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     193 </span><span class="lineNoCov">          0 :   Parse(ex2_9);</span>
<a name="194"><span class="lineNum">     194 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     195 </span>            : 
<span class="lineNum">     196 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_10_SimpleAnchor) {</span>
<span class="lineNum">     197 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     198 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     199 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">     200 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     201 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     202 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 1, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     203 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     204 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;rbi&quot;));</span>
<span class="lineNum">     205 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     206 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     207 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">     208 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     209 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     210 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     211 </span><span class="lineNoCov">          0 :   Parse(ex2_10);</span>
<a name="212"><span class="lineNum">     212 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     213 </span>            : 
<span class="lineNum">     214 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_11_MappingBetweenSequences) {</span>
<span class="lineNum">     215 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     216 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     217 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     218 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Detroit Tigers&quot;));</span>
<span class="lineNum">     219 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Chicago cubs&quot;));</span>
<span class="lineNum">     220 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     221 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     222 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-07-23&quot;));</span>
<span class="lineNum">     223 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     224 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     225 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;New York Yankees&quot;));</span>
<span class="lineNum">     226 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Atlanta Braves&quot;));</span>
<span class="lineNum">     227 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     228 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     229 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-07-02&quot;));</span>
<span class="lineNum">     230 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-08-12&quot;));</span>
<span class="lineNum">     231 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-08-14&quot;));</span>
<span class="lineNum">     232 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     233 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     234 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     235 </span><span class="lineNoCov">          0 :   Parse(ex2_11);</span>
<a name="236"><span class="lineNum">     236 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     237 </span>            : 
<span class="lineNum">     238 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_12_CompactNestedMapping) {</span>
<span class="lineNum">     239 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     240 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     241 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     242 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;item&quot;));</span>
<span class="lineNum">     243 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Super Hoop&quot;));</span>
<span class="lineNum">     244 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quantity&quot;));</span>
<span class="lineNum">     245 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;1&quot;));</span>
<span class="lineNum">     246 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     247 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     248 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;item&quot;));</span>
<span class="lineNum">     249 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Basketball&quot;));</span>
<span class="lineNum">     250 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quantity&quot;));</span>
<span class="lineNum">     251 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;4&quot;));</span>
<span class="lineNum">     252 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     253 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     254 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;item&quot;));</span>
<span class="lineNum">     255 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Big Shoes&quot;));</span>
<span class="lineNum">     256 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quantity&quot;));</span>
<span class="lineNum">     257 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;1&quot;));</span>
<span class="lineNum">     258 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     259 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     260 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     261 </span><span class="lineNoCov">          0 :   Parse(ex2_12);</span>
<a name="262"><span class="lineNum">     262 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     263 </span>            : 
<span class="lineNum">     264 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_13_InLiteralsNewlinesArePreserved) {</span>
<span class="lineNum">     265 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     266 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0,</span>
<span class="lineNum">     267 </span>            :                                 &quot;\\//||\\/||\n&quot;
<span class="lineNum">     268 </span><span class="lineNoCov">          0 :                                 &quot;// ||  ||__&quot;));</span>
<span class="lineNum">     269 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     270 </span><span class="lineNoCov">          0 :   Parse(ex2_13);</span>
<a name="271"><span class="lineNum">     271 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     272 </span>            : 
<span class="lineNum">     273 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_14_InFoldedScalarsNewlinesBecomeSpaces) {</span>
<span class="lineNum">     274 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     275 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     276 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">     277 </span><span class="lineNoCov">          0 :                        &quot;Mark McGwire's year was crippled by a knee injury.&quot;));</span>
<span class="lineNum">     278 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     279 </span><span class="lineNoCov">          0 :   Parse(ex2_14);</span>
<a name="280"><span class="lineNum">     280 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     281 </span>            : 
<span class="lineNum">     282 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest,</span>
<span class="lineNum">     283 </span>            :        Ex2_15_FoldedNewlinesArePreservedForMoreIndentedAndBlankLines) {
<span class="lineNum">     284 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     285 </span><span class="lineNoCov">          0 :   EXPECT_CALL(</span>
<span class="lineNum">     286 </span>            :       handler,
<span class="lineNum">     287 </span>            :       OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">     288 </span>            :                &quot;Sammy Sosa completed another fine season with great stats.\n&quot;
<span class="lineNum">     289 </span>            :                &quot;\n&quot;
<span class="lineNum">     290 </span>            :                &quot;  63 Home Runs\n&quot;
<span class="lineNum">     291 </span>            :                &quot;  0.288 Batting Average\n&quot;
<span class="lineNum">     292 </span>            :                &quot;\n&quot;
<span class="lineNum">     293 </span><span class="lineNoCov">          0 :                &quot;What a year!&quot;));</span>
<span class="lineNum">     294 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     295 </span><span class="lineNoCov">          0 :   Parse(ex2_15);</span>
<a name="296"><span class="lineNum">     296 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     297 </span>            : 
<span class="lineNum">     298 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_16_IndentationDeterminesScope) {</span>
<span class="lineNum">     299 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     300 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     301 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;name&quot;));</span>
<span class="lineNum">     302 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     303 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;accomplishment&quot;));</span>
<span class="lineNum">     304 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     305 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">     306 </span><span class="lineNoCov">          0 :                        &quot;Mark set a major league home run record in 1998.\n&quot;));</span>
<span class="lineNum">     307 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;stats&quot;));</span>
<span class="lineNum">     308 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0,</span>
<span class="lineNum">     309 </span>            :                                 &quot;65 Home Runs\n&quot;
<span class="lineNum">     310 </span><span class="lineNoCov">          0 :                                 &quot;0.278 Batting Average\n&quot;));</span>
<span class="lineNum">     311 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     312 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     313 </span><span class="lineNoCov">          0 :   Parse(ex2_16);</span>
<a name="314"><span class="lineNum">     314 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     315 </span>            : 
<span class="lineNum">     316 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_17_QuotedScalars) {</span>
<span class="lineNum">     317 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     318 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     319 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;unicode&quot;));</span>
<span class="lineNum">     320 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Sosa did fine.\xE2\x98\xBA&quot;));</span>
<span class="lineNum">     321 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;control&quot;));</span>
<span class="lineNum">     322 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\b1998\t1999\t2000\n&quot;));</span>
<span class="lineNum">     323 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hex esc&quot;));</span>
<span class="lineNum">     324 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\x0d\x0a is \r\n&quot;));</span>
<span class="lineNum">     325 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;single&quot;));</span>
<span class="lineNum">     326 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\&quot;Howdy!\&quot; he cried.&quot;));</span>
<span class="lineNum">     327 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quoted&quot;));</span>
<span class="lineNum">     328 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot; # Not a 'comment'.&quot;));</span>
<span class="lineNum">     329 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;tie-fighter&quot;));</span>
<span class="lineNum">     330 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;|\\-*-/|&quot;));</span>
<span class="lineNum">     331 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     332 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     333 </span><span class="lineNoCov">          0 :   Parse(ex2_17);</span>
<a name="334"><span class="lineNum">     334 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     335 </span>            : 
<span class="lineNum">     336 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_18_MultiLineFlowScalars) {</span>
<span class="lineNum">     337 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     338 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     339 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;plain&quot;));</span>
<span class="lineNum">     340 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     341 </span><span class="lineNoCov">          0 :               OnScalar(_, &quot;?&quot;, 0, &quot;This unquoted scalar spans many lines.&quot;));</span>
<span class="lineNum">     342 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quoted&quot;));</span>
<span class="lineNum">     343 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;So does this quoted scalar.\n&quot;));</span>
<span class="lineNum">     344 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     345 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     346 </span><span class="lineNoCov">          0 :   Parse(ex2_18);</span>
<span class="lineNum">     347 </span><span class="lineNoCov">          0 : }</span>
<span class="lineNum">     348 </span>            : 
<a name="349"><span class="lineNum">     349 </span>            : // TODO: 2.19 - 2.22 schema tags</a>
<span class="lineNum">     350 </span>            : 
<span class="lineNum">     351 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_23_VariousExplicitTags) {</span>
<span class="lineNum">     352 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     353 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     354 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;not-date&quot;));</span>
<span class="lineNum">     355 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;2002-04-28&quot;));</span>
<span class="lineNum">     356 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;picture&quot;));</span>
<span class="lineNum">     357 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:binary&quot;, 0,</span>
<span class="lineNum">     358 </span>            :                                 &quot;R0lGODlhDAAMAIQAAP//9/X\n&quot;
<span class="lineNum">     359 </span>            :                                 &quot;17unp5WZmZgAAAOfn515eXv\n&quot;
<span class="lineNum">     360 </span>            :                                 &quot;Pz7Y6OjuDg4J+fn5OTk6enp\n&quot;
<span class="lineNum">     361 </span><span class="lineNoCov">          0 :                                 &quot;56enmleECcgggoBADs=\n&quot;));</span>
<span class="lineNum">     362 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;application specific tag&quot;));</span>
<span class="lineNum">     363 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!something&quot;, 0,</span>
<span class="lineNum">     364 </span>            :                                 &quot;The semantics of the tag\n&quot;
<span class="lineNum">     365 </span>            :                                 &quot;above may be different for\n&quot;
<span class="lineNum">     366 </span><span class="lineNoCov">          0 :                                 &quot;different documents.&quot;));</span>
<span class="lineNum">     367 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     368 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     369 </span><span class="lineNoCov">          0 :   Parse(ex2_23);</span>
<a name="370"><span class="lineNum">     370 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     371 </span>            : 
<span class="lineNum">     372 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_24_GlobalTags) {</span>
<span class="lineNum">     373 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     374 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;tag:clarkevans.com,2002:shape&quot;, 0,</span>
<span class="lineNum">     375 </span><span class="lineNoCov">          0 :                                        EmitterStyle::Block));</span>
<span class="lineNum">     376 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;tag:clarkevans.com,2002:circle&quot;, 0,</span>
<span class="lineNum">     377 </span><span class="lineNoCov">          0 :                                   EmitterStyle::Block));</span>
<span class="lineNum">     378 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;center&quot;));</span>
<span class="lineNum">     379 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 1, EmitterStyle::Flow));</span>
<span class="lineNum">     380 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;x&quot;));</span>
<span class="lineNum">     381 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;73&quot;));</span>
<span class="lineNum">     382 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;y&quot;));</span>
<span class="lineNum">     383 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;129&quot;));</span>
<span class="lineNum">     384 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     385 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;radius&quot;));</span>
<span class="lineNum">     386 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;7&quot;));</span>
<span class="lineNum">     387 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     388 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;tag:clarkevans.com,2002:line&quot;, 0,</span>
<span class="lineNum">     389 </span><span class="lineNoCov">          0 :                                   EmitterStyle::Block));</span>
<span class="lineNum">     390 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;start&quot;));</span>
<span class="lineNum">     391 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     392 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;finish&quot;));</span>
<span class="lineNum">     393 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     394 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;x&quot;));</span>
<span class="lineNum">     395 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;89&quot;));</span>
<span class="lineNum">     396 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;y&quot;));</span>
<span class="lineNum">     397 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;102&quot;));</span>
<span class="lineNum">     398 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     399 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     400 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;tag:clarkevans.com,2002:label&quot;, 0,</span>
<span class="lineNum">     401 </span><span class="lineNoCov">          0 :                                   EmitterStyle::Block));</span>
<span class="lineNum">     402 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;start&quot;));</span>
<span class="lineNum">     403 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     404 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;color&quot;));</span>
<span class="lineNum">     405 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0xFFEEBB&quot;));</span>
<span class="lineNum">     406 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;text&quot;));</span>
<span class="lineNum">     407 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Pretty vector drawing.&quot;));</span>
<span class="lineNum">     408 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     409 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     410 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     411 </span><span class="lineNoCov">          0 :   Parse(ex2_24);</span>
<a name="412"><span class="lineNum">     412 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     413 </span>            : 
<span class="lineNum">     414 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_25_UnorderedSets) {</span>
<span class="lineNum">     415 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     416 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     417 </span><span class="lineNoCov">          0 :               OnMapStart(_, &quot;tag:yaml.org,2002:set&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     418 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     419 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">     420 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     421 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">     422 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">     423 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">     424 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     425 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     426 </span><span class="lineNoCov">          0 :   Parse(ex2_25);</span>
<a name="427"><span class="lineNum">     427 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     428 </span>            : 
<span class="lineNum">     429 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_26_OrderedMappings) {</span>
<span class="lineNum">     430 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     431 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;tag:yaml.org,2002:omap&quot;, 0,</span>
<span class="lineNum">     432 </span><span class="lineNoCov">          0 :                                        EmitterStyle::Block));</span>
<span class="lineNum">     433 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     434 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Mark McGwire&quot;));</span>
<span class="lineNum">     435 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">     436 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     437 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     438 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy Sosa&quot;));</span>
<span class="lineNum">     439 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;63&quot;));</span>
<span class="lineNum">     440 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     441 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     442 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Ken Griffey&quot;));</span>
<span class="lineNum">     443 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;58&quot;));</span>
<span class="lineNum">     444 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     445 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     446 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     447 </span><span class="lineNoCov">          0 :   Parse(ex2_26);</span>
<a name="448"><span class="lineNum">     448 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     449 </span>            : 
<span class="lineNum">     450 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_27_Invoice) {</span>
<span class="lineNum">     451 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     452 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;tag:clarkevans.com,2002:invoice&quot;, 0,</span>
<span class="lineNum">     453 </span><span class="lineNoCov">          0 :                                   EmitterStyle::Block));</span>
<span class="lineNum">     454 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;invoice&quot;));</span>
<span class="lineNum">     455 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;34843&quot;));</span>
<span class="lineNum">     456 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;date&quot;));</span>
<span class="lineNum">     457 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-01-23&quot;));</span>
<span class="lineNum">     458 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bill-to&quot;));</span>
<span class="lineNum">     459 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 1, EmitterStyle::Block));</span>
<span class="lineNum">     460 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;given&quot;));</span>
<span class="lineNum">     461 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Chris&quot;));</span>
<span class="lineNum">     462 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;family&quot;));</span>
<span class="lineNum">     463 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Dumars&quot;));</span>
<span class="lineNum">     464 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;address&quot;));</span>
<span class="lineNum">     465 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     466 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;lines&quot;));</span>
<span class="lineNum">     467 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0,</span>
<span class="lineNum">     468 </span>            :                                 &quot;458 Walkman Dr.\n&quot;
<span class="lineNum">     469 </span><span class="lineNoCov">          0 :                                 &quot;Suite #292\n&quot;));</span>
<span class="lineNum">     470 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;city&quot;));</span>
<span class="lineNum">     471 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Royal Oak&quot;));</span>
<span class="lineNum">     472 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;state&quot;));</span>
<span class="lineNum">     473 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;MI&quot;));</span>
<span class="lineNum">     474 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;postal&quot;));</span>
<span class="lineNum">     475 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;48046&quot;));</span>
<span class="lineNum">     476 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     477 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     478 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;ship-to&quot;));</span>
<span class="lineNum">     479 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     480 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;product&quot;));</span>
<span class="lineNum">     481 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     482 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     483 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sku&quot;));</span>
<span class="lineNum">     484 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;BL394D&quot;));</span>
<span class="lineNum">     485 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quantity&quot;));</span>
<span class="lineNum">     486 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;4&quot;));</span>
<span class="lineNum">     487 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;description&quot;));</span>
<span class="lineNum">     488 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Basketball&quot;));</span>
<span class="lineNum">     489 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;price&quot;));</span>
<span class="lineNum">     490 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;450.00&quot;));</span>
<span class="lineNum">     491 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     492 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     493 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sku&quot;));</span>
<span class="lineNum">     494 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;BL4438H&quot;));</span>
<span class="lineNum">     495 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quantity&quot;));</span>
<span class="lineNum">     496 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;1&quot;));</span>
<span class="lineNum">     497 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;description&quot;));</span>
<span class="lineNum">     498 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Super Hoop&quot;));</span>
<span class="lineNum">     499 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;price&quot;));</span>
<span class="lineNum">     500 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2392.00&quot;));</span>
<span class="lineNum">     501 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     502 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     503 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;tax&quot;));</span>
<span class="lineNum">     504 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;251.42&quot;));</span>
<span class="lineNum">     505 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;total&quot;));</span>
<span class="lineNum">     506 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;4443.52&quot;));</span>
<span class="lineNum">     507 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;comments&quot;));</span>
<span class="lineNum">     508 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0,</span>
<span class="lineNum">     509 </span>            :                                 &quot;Late afternoon is best. Backup contact is &quot;
<span class="lineNum">     510 </span><span class="lineNoCov">          0 :                                 &quot;Nancy Billsmer @ 338-4338.&quot;));</span>
<span class="lineNum">     511 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     512 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     513 </span><span class="lineNoCov">          0 :   Parse(ex2_27);</span>
<a name="514"><span class="lineNum">     514 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     515 </span>            : 
<span class="lineNum">     516 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex2_28_LogFile) {</span>
<span class="lineNum">     517 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     518 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     519 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Time&quot;));</span>
<span class="lineNum">     520 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-11-23 15:01:42 -5&quot;));</span>
<span class="lineNum">     521 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;User&quot;));</span>
<span class="lineNum">     522 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;ed&quot;));</span>
<span class="lineNum">     523 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Warning&quot;));</span>
<span class="lineNum">     524 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     525 </span><span class="lineNoCov">          0 :               OnScalar(_, &quot;?&quot;, 0, &quot;This is an error message for the log file&quot;));</span>
<span class="lineNum">     526 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     527 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     528 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     529 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     530 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Time&quot;));</span>
<span class="lineNum">     531 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-11-23 15:02:31 -5&quot;));</span>
<span class="lineNum">     532 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;User&quot;));</span>
<span class="lineNum">     533 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;ed&quot;));</span>
<span class="lineNum">     534 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Warning&quot;));</span>
<span class="lineNum">     535 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     536 </span><span class="lineNoCov">          0 :               OnScalar(_, &quot;?&quot;, 0, &quot;A slightly different error message.&quot;));</span>
<span class="lineNum">     537 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     538 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     539 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     540 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     541 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Date&quot;));</span>
<span class="lineNum">     542 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;2001-11-23 15:03:17 -5&quot;));</span>
<span class="lineNum">     543 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;User&quot;));</span>
<span class="lineNum">     544 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;ed&quot;));</span>
<span class="lineNum">     545 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Fatal&quot;));</span>
<span class="lineNum">     546 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Unknown variable \&quot;bar\&quot;&quot;));</span>
<span class="lineNum">     547 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Stack&quot;));</span>
<span class="lineNum">     548 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     549 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     550 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;file&quot;));</span>
<span class="lineNum">     551 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;TopClass.py&quot;));</span>
<span class="lineNum">     552 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;line&quot;));</span>
<span class="lineNum">     553 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;23&quot;));</span>
<span class="lineNum">     554 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;code&quot;));</span>
<span class="lineNum">     555 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;x = MoreObject(\&quot;345\\n\&quot;)\n&quot;));</span>
<span class="lineNum">     556 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     557 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     558 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;file&quot;));</span>
<span class="lineNum">     559 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;MoreClass.py&quot;));</span>
<span class="lineNum">     560 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;line&quot;));</span>
<span class="lineNum">     561 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;58&quot;));</span>
<span class="lineNum">     562 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;code&quot;));</span>
<span class="lineNum">     563 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;foo = bar&quot;));</span>
<span class="lineNum">     564 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     565 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     566 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     567 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     568 </span><span class="lineNoCov">          0 :   Parse(ex2_28);</span>
<span class="lineNum">     569 </span><span class="lineNoCov">          0 : }</span>
<span class="lineNum">     570 </span>            : 
<a name="571"><span class="lineNum">     571 </span>            : // TODO: 5.1 - 5.2 BOM</a>
<span class="lineNum">     572 </span>            : 
<span class="lineNum">     573 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_3_BlockStructureIndicators) {</span>
<span class="lineNum">     574 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     575 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     576 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sequence&quot;));</span>
<span class="lineNum">     577 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     578 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">     579 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">     580 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     581 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;mapping&quot;));</span>
<span class="lineNum">     582 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     583 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sky&quot;));</span>
<span class="lineNum">     584 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;blue&quot;));</span>
<span class="lineNum">     585 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sea&quot;));</span>
<span class="lineNum">     586 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;green&quot;));</span>
<span class="lineNum">     587 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     588 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     589 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     590 </span><span class="lineNoCov">          0 :   Parse(ex5_3);</span>
<a name="591"><span class="lineNum">     591 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     592 </span>            : 
<span class="lineNum">     593 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_4_FlowStructureIndicators) {</span>
<span class="lineNum">     594 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     595 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     596 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sequence&quot;));</span>
<span class="lineNum">     597 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     598 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">     599 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">     600 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     601 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;mapping&quot;));</span>
<span class="lineNum">     602 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     603 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sky&quot;));</span>
<span class="lineNum">     604 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;blue&quot;));</span>
<span class="lineNum">     605 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sea&quot;));</span>
<span class="lineNum">     606 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;green&quot;));</span>
<span class="lineNum">     607 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     608 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     609 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     610 </span><span class="lineNoCov">          0 :   Parse(ex5_4);</span>
<a name="611"><span class="lineNum">     611 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     612 </span>            : 
<a name="613"><span class="lineNum">     613 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_5_CommentIndicator) { Parse(ex5_5); }</span></a>
<span class="lineNum">     614 </span>            : 
<span class="lineNum">     615 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_6_NodePropertyIndicators) {</span>
<span class="lineNum">     616 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     617 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     618 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;anchored&quot;));</span>
<span class="lineNum">     619 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!local&quot;, 1, &quot;value&quot;));</span>
<span class="lineNum">     620 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;alias&quot;));</span>
<span class="lineNum">     621 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     622 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     623 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     624 </span><span class="lineNoCov">          0 :   Parse(ex5_6);</span>
<a name="625"><span class="lineNum">     625 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     626 </span>            : 
<span class="lineNum">     627 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_7_BlockScalarIndicators) {</span>
<span class="lineNum">     628 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     629 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     630 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;literal&quot;));</span>
<span class="lineNum">     631 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;some\ntext\n&quot;));</span>
<span class="lineNum">     632 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;folded&quot;));</span>
<span class="lineNum">     633 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;some text\n&quot;));</span>
<span class="lineNum">     634 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     635 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     636 </span><span class="lineNoCov">          0 :   Parse(ex5_7);</span>
<a name="637"><span class="lineNum">     637 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     638 </span>            : 
<span class="lineNum">     639 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_8_QuotedScalarIndicators) {</span>
<span class="lineNum">     640 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     641 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     642 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;single&quot;));</span>
<span class="lineNum">     643 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text&quot;));</span>
<span class="lineNum">     644 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;double&quot;));</span>
<span class="lineNum">     645 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text&quot;));</span>
<span class="lineNum">     646 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     647 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     648 </span><span class="lineNoCov">          0 :   Parse(ex5_8);</span>
<span class="lineNum">     649 </span><span class="lineNoCov">          0 : }</span>
<span class="lineNum">     650 </span>            : 
<span class="lineNum">     651 </span>            : // TODO: 5.9 directive
<a name="652"><span class="lineNum">     652 </span>            : // TODO: 5.10 reserved indicator</a>
<span class="lineNum">     653 </span>            : 
<span class="lineNum">     654 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_11_LineBreakCharacters) {</span>
<span class="lineNum">     655 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     656 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0,</span>
<span class="lineNum">     657 </span>            :                                 &quot;Line break (no glyph)\n&quot;
<span class="lineNum">     658 </span><span class="lineNoCov">          0 :                                 &quot;Line break (glyphed)\n&quot;));</span>
<span class="lineNum">     659 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     660 </span><span class="lineNoCov">          0 :   Parse(ex5_11);</span>
<a name="661"><span class="lineNum">     661 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     662 </span>            : 
<span class="lineNum">     663 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_12_TabsAndSpaces) {</span>
<span class="lineNum">     664 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     665 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     666 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quoted&quot;));</span>
<span class="lineNum">     667 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Quoted\t&quot;));</span>
<span class="lineNum">     668 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;block&quot;));</span>
<span class="lineNum">     669 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0,</span>
<span class="lineNum">     670 </span>            :                                 &quot;void main() {\n&quot;
<span class="lineNum">     671 </span>            :                                 &quot;\tprintf(\&quot;Hello, world!\\n\&quot;);\n&quot;
<span class="lineNum">     672 </span><span class="lineNoCov">          0 :                                 &quot;}&quot;));</span>
<span class="lineNum">     673 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     674 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     675 </span><span class="lineNoCov">          0 :   Parse(ex5_12);</span>
<a name="676"><span class="lineNum">     676 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     677 </span>            : 
<span class="lineNum">     678 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_13_EscapedCharacters) {</span>
<span class="lineNum">     679 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     680 </span><span class="lineNoCov">          0 :   EXPECT_CALL(</span>
<span class="lineNum">     681 </span>            :       handler,
<span class="lineNum">     682 </span>            :       OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">     683 </span>            :                &quot;Fun with \x5C \x22 \x07 \x08 \x1B \x0C \x0A \x0D \x09 \x0B &quot; +
<span class="lineNum">     684 </span>            :                    std::string(&quot;\x00&quot;, 1) +
<span class="lineNum">     685 </span><span class="lineNoCov">          0 :                    &quot; \x20 \xA0 \x85 \xe2\x80\xa8 \xe2\x80\xa9 A A A&quot;));</span>
<span class="lineNum">     686 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     687 </span><span class="lineNoCov">          0 :   Parse(ex5_13);</span>
<a name="688"><span class="lineNum">     688 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     689 </span>            : 
<span class="lineNum">     690 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex5_14_InvalidEscapedCharacters) {</span>
<span class="lineNum">     691 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex5_14),</span>
<span class="lineNum">     692 </span>            :                                 std::string(ErrorMsg::INVALID_ESCAPE) + &quot;c&quot;);
<a name="693"><span class="lineNum">     693 </span>            : }</a>
<span class="lineNum">     694 </span>            : 
<span class="lineNum">     695 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_1_IndentationSpaces) {</span>
<span class="lineNum">     696 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     697 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     698 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Not indented&quot;));</span>
<span class="lineNum">     699 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     700 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;By one space&quot;));</span>
<span class="lineNum">     701 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;By four\n  spaces\n&quot;));</span>
<span class="lineNum">     702 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Flow style&quot;));</span>
<span class="lineNum">     703 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     704 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;By two&quot;));</span>
<span class="lineNum">     705 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Also by two&quot;));</span>
<span class="lineNum">     706 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Still by two&quot;));</span>
<span class="lineNum">     707 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     708 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     709 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     710 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     711 </span><span class="lineNoCov">          0 :   Parse(ex6_1);</span>
<a name="712"><span class="lineNum">     712 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     713 </span>            : 
<span class="lineNum">     714 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_2_IndentationIndicators) {</span>
<span class="lineNum">     715 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     716 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     717 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;a&quot;));</span>
<span class="lineNum">     718 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     719 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;b&quot;));</span>
<span class="lineNum">     720 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     721 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;c&quot;));</span>
<span class="lineNum">     722 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;d&quot;));</span>
<span class="lineNum">     723 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     724 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     725 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     726 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     727 </span><span class="lineNoCov">          0 :   Parse(ex6_2);</span>
<a name="728"><span class="lineNum">     728 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     729 </span>            : 
<span class="lineNum">     730 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_3_SeparationSpaces) {</span>
<span class="lineNum">     731 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     732 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     733 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     734 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     735 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     736 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     737 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     738 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;baz&quot;));</span>
<span class="lineNum">     739 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;baz&quot;));</span>
<span class="lineNum">     740 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     741 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     742 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     743 </span><span class="lineNoCov">          0 :   Parse(ex6_3);</span>
<a name="744"><span class="lineNum">     744 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     745 </span>            : 
<span class="lineNum">     746 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_4_LinePrefixes) {</span>
<span class="lineNum">     747 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     748 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     749 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;plain&quot;));</span>
<span class="lineNum">     750 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;text lines&quot;));</span>
<span class="lineNum">     751 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;quoted&quot;));</span>
<span class="lineNum">     752 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text lines&quot;));</span>
<span class="lineNum">     753 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;block&quot;));</span>
<span class="lineNum">     754 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text\n \tlines\n&quot;));</span>
<span class="lineNum">     755 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     756 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     757 </span><span class="lineNoCov">          0 :   Parse(ex6_4);</span>
<a name="758"><span class="lineNum">     758 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     759 </span>            : 
<span class="lineNum">     760 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_5_EmptyLines) {</span>
<span class="lineNum">     761 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     762 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     763 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Folding&quot;));</span>
<span class="lineNum">     764 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Empty line\nas a line feed&quot;));</span>
<span class="lineNum">     765 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Chomping&quot;));</span>
<span class="lineNum">     766 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Clipped empty lines\n&quot;));</span>
<span class="lineNum">     767 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     768 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     769 </span><span class="lineNoCov">          0 :   Parse(ex6_5);</span>
<a name="770"><span class="lineNum">     770 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     771 </span>            : 
<span class="lineNum">     772 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_6_LineFolding) {</span>
<span class="lineNum">     773 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     774 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;trimmed\n\n\nas space&quot;));</span>
<span class="lineNum">     775 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     776 </span><span class="lineNoCov">          0 :   Parse(ex6_6);</span>
<a name="777"><span class="lineNum">     777 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     778 </span>            : 
<span class="lineNum">     779 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_7_BlockFolding) {</span>
<span class="lineNum">     780 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     781 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;foo \n\n\t bar\n\nbaz\n&quot;));</span>
<span class="lineNum">     782 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     783 </span><span class="lineNoCov">          0 :   Parse(ex6_7);</span>
<a name="784"><span class="lineNum">     784 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     785 </span>            : 
<span class="lineNum">     786 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_8_FlowFolding) {</span>
<span class="lineNum">     787 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     788 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot; foo\nbar\nbaz &quot;));</span>
<span class="lineNum">     789 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     790 </span><span class="lineNoCov">          0 :   Parse(ex6_8);</span>
<a name="791"><span class="lineNum">     791 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     792 </span>            : 
<span class="lineNum">     793 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_9_SeparatedComment) {</span>
<span class="lineNum">     794 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     795 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     796 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;key&quot;));</span>
<span class="lineNum">     797 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">     798 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     799 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     800 </span><span class="lineNoCov">          0 :   Parse(ex6_9);</span>
<a name="801"><span class="lineNum">     801 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     802 </span>            : 
<a name="803"><span class="lineNum">     803 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_10_CommentLines) { Parse(ex6_10); }</span></a>
<span class="lineNum">     804 </span>            : 
<span class="lineNum">     805 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, _MultiLineComments) {</span>
<span class="lineNum">     806 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     807 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     808 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;key&quot;));</span>
<span class="lineNum">     809 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">     810 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     811 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     812 </span><span class="lineNoCov">          0 :   Parse(ex6_11);</span>
<a name="813"><span class="lineNum">     813 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     814 </span>            : 
<span class="lineNum">     815 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_12_SeparationSpacesII) {</span>
<span class="lineNum">     816 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     817 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     818 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">     819 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;first&quot;));</span>
<span class="lineNum">     820 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sammy&quot;));</span>
<span class="lineNum">     821 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;last&quot;));</span>
<span class="lineNum">     822 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Sosa&quot;));</span>
<span class="lineNum">     823 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     824 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     825 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;hr&quot;));</span>
<span class="lineNum">     826 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;65&quot;));</span>
<span class="lineNum">     827 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;avg&quot;));</span>
<span class="lineNum">     828 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;0.278&quot;));</span>
<span class="lineNum">     829 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     830 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     831 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     832 </span><span class="lineNoCov">          0 :   Parse(ex6_12);</span>
<a name="833"><span class="lineNum">     833 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     834 </span>            : 
<span class="lineNum">     835 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_13_ReservedDirectives) {</span>
<span class="lineNum">     836 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     837 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     838 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     839 </span><span class="lineNoCov">          0 :   Parse(ex6_13);</span>
<a name="840"><span class="lineNum">     840 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     841 </span>            : 
<span class="lineNum">     842 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_14_YAMLDirective) {</span>
<span class="lineNum">     843 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     844 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     845 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     846 </span><span class="lineNoCov">          0 :   Parse(ex6_14);</span>
<a name="847"><span class="lineNum">     847 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     848 </span>            : 
<span class="lineNum">     849 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_15_InvalidRepeatedYAMLDirective) {</span>
<span class="lineNum">     850 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex6_15),</span>
<span class="lineNum">     851 </span>            :                                 ErrorMsg::REPEATED_YAML_DIRECTIVE);
<a name="852"><span class="lineNum">     852 </span>            : }</a>
<span class="lineNum">     853 </span>            : 
<span class="lineNum">     854 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_16_TagDirective) {</span>
<span class="lineNum">     855 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     856 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     857 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     858 </span><span class="lineNoCov">          0 :   Parse(ex6_16);</span>
<a name="859"><span class="lineNum">     859 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     860 </span>            : 
<span class="lineNum">     861 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_17_InvalidRepeatedTagDirective) {</span>
<span class="lineNum">     862 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex6_17),</span>
<span class="lineNum">     863 </span>            :                                 ErrorMsg::REPEATED_TAG_DIRECTIVE);
<a name="864"><span class="lineNum">     864 </span>            : }</a>
<span class="lineNum">     865 </span>            : 
<span class="lineNum">     866 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_18_PrimaryTagHandle) {</span>
<span class="lineNum">     867 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     868 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!foo&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     869 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     870 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     871 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:example.com,2000:app/foo&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     872 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     873 </span><span class="lineNoCov">          0 :   Parse(ex6_18);</span>
<a name="874"><span class="lineNum">     874 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     875 </span>            : 
<span class="lineNum">     876 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_19_SecondaryTagHandle) {</span>
<span class="lineNum">     877 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     878 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:example.com,2000:app/int&quot;, 0, &quot;1 - 3&quot;));</span>
<span class="lineNum">     879 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     880 </span><span class="lineNoCov">          0 :   Parse(ex6_19);</span>
<a name="881"><span class="lineNum">     881 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     882 </span>            : 
<span class="lineNum">     883 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_20_TagHandles) {</span>
<span class="lineNum">     884 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     885 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:example.com,2000:app/foo&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     886 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     887 </span><span class="lineNoCov">          0 :   Parse(ex6_20);</span>
<a name="888"><span class="lineNum">     888 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     889 </span>            : 
<span class="lineNum">     890 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_21_LocalTagPrefix) {</span>
<span class="lineNum">     891 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     892 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!my-light&quot;, 0, &quot;fluorescent&quot;));</span>
<span class="lineNum">     893 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     894 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     895 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!my-light&quot;, 0, &quot;green&quot;));</span>
<span class="lineNum">     896 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     897 </span><span class="lineNoCov">          0 :   Parse(ex6_21);</span>
<a name="898"><span class="lineNum">     898 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     899 </span>            : 
<span class="lineNum">     900 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_22_GlobalTagPrefix) {</span>
<span class="lineNum">     901 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     902 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     903 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:example.com,2000:app/foo&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     904 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     905 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     906 </span><span class="lineNoCov">          0 :   Parse(ex6_22);</span>
<a name="907"><span class="lineNum">     907 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     908 </span>            : 
<span class="lineNum">     909 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_23_NodeProperties) {</span>
<span class="lineNum">     910 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     911 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     912 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 1, &quot;foo&quot;));</span>
<span class="lineNum">     913 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     914 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 2, &quot;baz&quot;));</span>
<span class="lineNum">     915 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     916 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     917 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     918 </span><span class="lineNoCov">          0 :   Parse(ex6_23);</span>
<a name="919"><span class="lineNum">     919 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     920 </span>            : 
<span class="lineNum">     921 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_24_VerbatimTags) {</span>
<span class="lineNum">     922 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     923 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     924 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     925 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!bar&quot;, 0, &quot;baz&quot;));</span>
<span class="lineNum">     926 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     927 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     928 </span><span class="lineNoCov">          0 :   Parse(ex6_24);</span>
<span class="lineNum">     929 </span><span class="lineNoCov">          0 : }</span>
<a name="930"><span class="lineNum">     930 </span>            : </a>
<span class="lineNum">     931 </span>            : // TODO: Implement
<span class="lineNum">     932 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, DISABLED_Ex6_25_InvalidVerbatimTags) {</span>
<span class="lineNum">     933 </span><span class="lineNoCov">          0 :   Parse(ex6_25);</span>
<span class="lineNum">     934 </span><span class="lineNoCov">          0 :   FAIL() &lt;&lt; &quot;not implemented yet&quot;;</span>
<a name="935"><span class="lineNum">     935 </span>            : }</a>
<span class="lineNum">     936 </span>            : 
<span class="lineNum">     937 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_26_TagShorthands) {</span>
<span class="lineNum">     938 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     939 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     940 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!local&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">     941 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">     942 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">     943 </span><span class="lineNoCov">          0 :               OnScalar(_, &quot;tag:example.com,2000:app/tag%21&quot;, 0, &quot;baz&quot;));</span>
<span class="lineNum">     944 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     945 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     946 </span><span class="lineNoCov">          0 :   Parse(ex6_26);</span>
<a name="947"><span class="lineNum">     947 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     948 </span>            : 
<span class="lineNum">     949 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_27a_InvalidTagShorthands) {</span>
<span class="lineNum">     950 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex6_27a),</span>
<span class="lineNum">     951 </span>            :                                 ErrorMsg::TAG_WITH_NO_SUFFIX);
<span class="lineNum">     952 </span>            : }
<a name="953"><span class="lineNum">     953 </span>            : </a>
<span class="lineNum">     954 </span>            : // TODO: should we reject this one (since !h! is not declared)?
<span class="lineNum">     955 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, DISABLED_Ex6_27b_InvalidTagShorthands) {</span>
<span class="lineNum">     956 </span><span class="lineNoCov">          0 :   Parse(ex6_27b);</span>
<span class="lineNum">     957 </span><span class="lineNoCov">          0 :   FAIL() &lt;&lt; &quot;not implemented yet&quot;;</span>
<a name="958"><span class="lineNum">     958 </span>            : }</a>
<span class="lineNum">     959 </span>            : 
<span class="lineNum">     960 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_28_NonSpecificTags) {</span>
<span class="lineNum">     961 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     962 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     963 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;12&quot;));</span>
<span class="lineNum">     964 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;12&quot;));</span>
<span class="lineNum">     965 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;12&quot;));</span>
<span class="lineNum">     966 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">     967 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     968 </span><span class="lineNoCov">          0 :   Parse(ex6_28);</span>
<a name="969"><span class="lineNum">     969 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     970 </span>            : 
<span class="lineNum">     971 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex6_29_NodeAnchors) {</span>
<span class="lineNum">     972 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     973 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     974 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;First occurrence&quot;));</span>
<span class="lineNum">     975 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 1, &quot;Value&quot;));</span>
<span class="lineNum">     976 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Second occurrence&quot;));</span>
<span class="lineNum">     977 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     978 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     979 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     980 </span><span class="lineNoCov">          0 :   Parse(ex6_29);</span>
<a name="981"><span class="lineNum">     981 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     982 </span>            : 
<span class="lineNum">     983 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_1_AliasNodes) {</span>
<span class="lineNum">     984 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">     985 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">     986 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;First occurrence&quot;));</span>
<span class="lineNum">     987 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 1, &quot;Foo&quot;));</span>
<span class="lineNum">     988 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Second occurrence&quot;));</span>
<span class="lineNum">     989 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">     990 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Override anchor&quot;));</span>
<span class="lineNum">     991 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 2, &quot;Bar&quot;));</span>
<span class="lineNum">     992 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Reuse anchor&quot;));</span>
<span class="lineNum">     993 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 2));</span>
<span class="lineNum">     994 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">     995 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">     996 </span><span class="lineNoCov">          0 :   Parse(ex7_1);</span>
<a name="997"><span class="lineNum">     997 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">     998 </span>            : 
<span class="lineNum">     999 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_2_EmptyNodes) {</span>
<span class="lineNum">    1000 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1001 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1002 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">    1003 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;&quot;));</span>
<span class="lineNum">    1004 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;&quot;));</span>
<span class="lineNum">    1005 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">    1006 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1007 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1008 </span><span class="lineNoCov">          0 :   Parse(ex7_2);</span>
<a name="1009"><span class="lineNum">    1009 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1010 </span>            : 
<span class="lineNum">    1011 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_3_CompletelyEmptyNodes) {</span>
<span class="lineNum">    1012 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1013 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1014 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">    1015 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1016 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1017 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">    1018 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1019 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1020 </span><span class="lineNoCov">          0 :   Parse(ex7_3);</span>
<a name="1021"><span class="lineNum">    1021 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1022 </span>            : 
<span class="lineNum">    1023 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_4_DoubleQuotedImplicitKeys) {</span>
<span class="lineNum">    1024 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1025 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1026 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;implicit block key&quot;));</span>
<span class="lineNum">    1027 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1028 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1029 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;implicit flow key&quot;));</span>
<span class="lineNum">    1030 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1031 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1032 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1033 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1034 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1035 </span><span class="lineNoCov">          0 :   Parse(ex7_4);</span>
<a name="1036"><span class="lineNum">    1036 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1037 </span>            : 
<span class="lineNum">    1038 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_5_DoubleQuotedLineBreaks) {</span>
<span class="lineNum">    1039 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1040 </span><span class="lineNoCov">          0 :   EXPECT_CALL(</span>
<span class="lineNum">    1041 </span>            :       handler,
<span class="lineNum">    1042 </span>            :       OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">    1043 </span><span class="lineNoCov">          0 :                &quot;folded to a space,\nto a line feed, or \t \tnon-content&quot;));</span>
<span class="lineNum">    1044 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1045 </span><span class="lineNoCov">          0 :   Parse(ex7_5);</span>
<a name="1046"><span class="lineNum">    1046 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1047 </span>            : 
<span class="lineNum">    1048 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_6_DoubleQuotedLines) {</span>
<span class="lineNum">    1049 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1050 </span><span class="lineNoCov">          0 :   EXPECT_CALL(</span>
<span class="lineNum">    1051 </span>            :       handler,
<span class="lineNum">    1052 </span><span class="lineNoCov">          0 :       OnScalar(_, &quot;!&quot;, 0, &quot; 1st non-empty\n2nd non-empty 3rd non-empty &quot;));</span>
<span class="lineNum">    1053 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1054 </span><span class="lineNoCov">          0 :   Parse(ex7_6);</span>
<a name="1055"><span class="lineNum">    1055 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1056 </span>            : 
<span class="lineNum">    1057 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_7_SingleQuotedCharacters) {</span>
<span class="lineNum">    1058 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1059 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;here's to \&quot;quotes\&quot;&quot;));</span>
<span class="lineNum">    1060 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1061 </span><span class="lineNoCov">          0 :   Parse(ex7_7);</span>
<a name="1062"><span class="lineNum">    1062 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1063 </span>            : 
<span class="lineNum">    1064 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_8_SingleQuotedImplicitKeys) {</span>
<span class="lineNum">    1065 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1066 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1067 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;implicit block key&quot;));</span>
<span class="lineNum">    1068 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1069 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1070 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;implicit flow key&quot;));</span>
<span class="lineNum">    1071 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1072 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1073 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1074 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1075 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1076 </span><span class="lineNoCov">          0 :   Parse(ex7_8);</span>
<a name="1077"><span class="lineNum">    1077 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1078 </span>            : 
<span class="lineNum">    1079 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_9_SingleQuotedLines) {</span>
<span class="lineNum">    1080 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1081 </span><span class="lineNoCov">          0 :   EXPECT_CALL(</span>
<span class="lineNum">    1082 </span>            :       handler,
<span class="lineNum">    1083 </span><span class="lineNoCov">          0 :       OnScalar(_, &quot;!&quot;, 0, &quot; 1st non-empty\n2nd non-empty 3rd non-empty &quot;));</span>
<span class="lineNum">    1084 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1085 </span><span class="lineNoCov">          0 :   Parse(ex7_9);</span>
<a name="1086"><span class="lineNum">    1086 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1087 </span>            : 
<span class="lineNum">    1088 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_10_PlainCharacters) {</span>
<span class="lineNum">    1089 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1090 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1091 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;::vector&quot;));</span>
<span class="lineNum">    1092 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;: - ()&quot;));</span>
<span class="lineNum">    1093 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;Up, up, and away!&quot;));</span>
<span class="lineNum">    1094 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;-123&quot;));</span>
<span class="lineNum">    1095 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;http://example.com/foo#bar&quot;));</span>
<span class="lineNum">    1096 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1097 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;::vector&quot;));</span>
<span class="lineNum">    1098 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;: - ()&quot;));</span>
<span class="lineNum">    1099 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Up, up, and away!&quot;));</span>
<span class="lineNum">    1100 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;-123&quot;));</span>
<span class="lineNum">    1101 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;http://example.com/foo#bar&quot;));</span>
<span class="lineNum">    1102 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1103 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1104 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1105 </span><span class="lineNoCov">          0 :   Parse(ex7_10);</span>
<a name="1106"><span class="lineNum">    1106 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1107 </span>            : 
<span class="lineNum">    1108 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_11_PlainImplicitKeys) {</span>
<span class="lineNum">    1109 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1110 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1111 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;implicit block key&quot;));</span>
<span class="lineNum">    1112 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1113 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1114 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;implicit flow key&quot;));</span>
<span class="lineNum">    1115 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1116 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1117 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1118 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1119 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1120 </span><span class="lineNoCov">          0 :   Parse(ex7_11);</span>
<a name="1121"><span class="lineNum">    1121 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1122 </span>            : 
<span class="lineNum">    1123 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_12_PlainLines) {</span>
<span class="lineNum">    1124 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1125 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0,</span>
<span class="lineNum">    1126 </span><span class="lineNoCov">          0 :                                 &quot;1st non-empty\n2nd non-empty 3rd non-empty&quot;));</span>
<span class="lineNum">    1127 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1128 </span><span class="lineNoCov">          0 :   Parse(ex7_12);</span>
<a name="1129"><span class="lineNum">    1129 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1130 </span>            : 
<span class="lineNum">    1131 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_13_FlowSequence) {</span>
<span class="lineNum">    1132 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1133 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1134 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1135 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1136 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1137 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1138 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1139 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;three&quot;));</span>
<span class="lineNum">    1140 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;four&quot;));</span>
<span class="lineNum">    1141 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1142 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1143 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1144 </span><span class="lineNoCov">          0 :   Parse(ex7_13);</span>
<a name="1145"><span class="lineNum">    1145 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1146 </span>            : 
<span class="lineNum">    1147 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_14_FlowSequenceEntries) {</span>
<span class="lineNum">    1148 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1149 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1150 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;double quoted&quot;));</span>
<span class="lineNum">    1151 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;single quoted&quot;));</span>
<span class="lineNum">    1152 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;plain text&quot;));</span>
<span class="lineNum">    1153 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1154 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;nested&quot;));</span>
<span class="lineNum">    1155 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1156 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1157 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;single&quot;));</span>
<span class="lineNum">    1158 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;pair&quot;));</span>
<span class="lineNum">    1159 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1160 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1161 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1162 </span><span class="lineNoCov">          0 :   Parse(ex7_14);</span>
<a name="1163"><span class="lineNum">    1163 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1164 </span>            : 
<span class="lineNum">    1165 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_15_FlowMappings) {</span>
<span class="lineNum">    1166 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1167 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1168 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1169 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1170 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1171 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;three&quot;));</span>
<span class="lineNum">    1172 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;four&quot;));</span>
<span class="lineNum">    1173 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1174 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1175 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;five&quot;));</span>
<span class="lineNum">    1176 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;six&quot;));</span>
<span class="lineNum">    1177 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;seven&quot;));</span>
<span class="lineNum">    1178 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;eight&quot;));</span>
<span class="lineNum">    1179 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1180 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1181 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1182 </span><span class="lineNoCov">          0 :   Parse(ex7_15);</span>
<a name="1183"><span class="lineNum">    1183 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1184 </span>            : 
<span class="lineNum">    1185 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_16_FlowMappingEntries) {</span>
<span class="lineNum">    1186 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1187 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1188 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;explicit&quot;));</span>
<span class="lineNum">    1189 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;entry&quot;));</span>
<span class="lineNum">    1190 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;implicit&quot;));</span>
<span class="lineNum">    1191 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;entry&quot;));</span>
<span class="lineNum">    1192 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1193 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1194 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1195 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1196 </span><span class="lineNoCov">          0 :   Parse(ex7_16);</span>
<a name="1197"><span class="lineNum">    1197 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1198 </span>            : 
<span class="lineNum">    1199 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_17_FlowMappingSeparateValues) {</span>
<span class="lineNum">    1200 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1201 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1202 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;unquoted&quot;));</span>
<span class="lineNum">    1203 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;separate&quot;));</span>
<span class="lineNum">    1204 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;http://foo.com&quot;));</span>
<span class="lineNum">    1205 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1206 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;omitted value&quot;));</span>
<span class="lineNum">    1207 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1208 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1209 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;omitted key&quot;));</span>
<span class="lineNum">    1210 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1211 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1212 </span><span class="lineNoCov">          0 :   Parse(ex7_17);</span>
<a name="1213"><span class="lineNum">    1213 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1214 </span>            : 
<span class="lineNum">    1215 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_18_FlowMappingAdjacentValues) {</span>
<span class="lineNum">    1216 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1217 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1218 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;adjacent&quot;));</span>
<span class="lineNum">    1219 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1220 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;readable&quot;));</span>
<span class="lineNum">    1221 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1222 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;empty&quot;));</span>
<span class="lineNum">    1223 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1224 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1225 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1226 </span><span class="lineNoCov">          0 :   Parse(ex7_18);</span>
<a name="1227"><span class="lineNum">    1227 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1228 </span>            : 
<span class="lineNum">    1229 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_19_SinglePairFlowMappings) {</span>
<span class="lineNum">    1230 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1231 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1232 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1233 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">    1234 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">    1235 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1236 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1237 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1238 </span><span class="lineNoCov">          0 :   Parse(ex7_19);</span>
<a name="1239"><span class="lineNum">    1239 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1240 </span>            : 
<span class="lineNum">    1241 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_20_SinglePairExplicitEntry) {</span>
<span class="lineNum">    1242 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1243 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1244 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1245 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo bar&quot;));</span>
<span class="lineNum">    1246 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;baz&quot;));</span>
<span class="lineNum">    1247 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1248 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1249 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1250 </span><span class="lineNoCov">          0 :   Parse(ex7_20);</span>
<a name="1251"><span class="lineNum">    1251 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1252 </span>            : 
<span class="lineNum">    1253 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_21_SinglePairImplicitEntries) {</span>
<span class="lineNum">    1254 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1255 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1256 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1257 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1258 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;YAML&quot;));</span>
<span class="lineNum">    1259 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;separate&quot;));</span>
<span class="lineNum">    1260 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1261 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1262 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1263 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Default));</span>
<span class="lineNum">    1264 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1265 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;empty key entry&quot;));</span>
<span class="lineNum">    1266 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1267 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1268 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1269 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1270 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1271 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;JSON&quot;));</span>
<span class="lineNum">    1272 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;like&quot;));</span>
<span class="lineNum">    1273 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1274 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;adjacent&quot;));</span>
<span class="lineNum">    1275 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1276 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1277 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1278 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1279 </span><span class="lineNoCov">          0 :   Parse(ex7_21);</span>
<a name="1280"><span class="lineNum">    1280 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1281 </span>            : 
<span class="lineNum">    1282 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_22_InvalidImplicitKeys) {</span>
<span class="lineNum">    1283 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex7_22), ErrorMsg::END_OF_SEQ_FLOW);</span>
<a name="1284"><span class="lineNum">    1284 </span>            : }</a>
<span class="lineNum">    1285 </span>            : 
<span class="lineNum">    1286 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_23_FlowContent) {</span>
<span class="lineNum">    1287 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1288 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1289 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1290 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;a&quot;));</span>
<span class="lineNum">    1291 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;b&quot;));</span>
<span class="lineNum">    1292 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1293 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Flow));</span>
<span class="lineNum">    1294 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;a&quot;));</span>
<span class="lineNum">    1295 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;b&quot;));</span>
<span class="lineNum">    1296 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1297 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;a&quot;));</span>
<span class="lineNum">    1298 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;b&quot;));</span>
<span class="lineNum">    1299 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;c&quot;));</span>
<span class="lineNum">    1300 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1301 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1302 </span><span class="lineNoCov">          0 :   Parse(ex7_23);</span>
<a name="1303"><span class="lineNum">    1303 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1304 </span>            : 
<span class="lineNum">    1305 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex7_24_FlowNodes) {</span>
<span class="lineNum">    1306 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1307 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1308 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;a&quot;));</span>
<span class="lineNum">    1309 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;b&quot;));</span>
<span class="lineNum">    1310 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 1, &quot;c&quot;));</span>
<span class="lineNum">    1311 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnAlias(_, 1));</span>
<span class="lineNum">    1312 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;tag:yaml.org,2002:str&quot;, 0, &quot;&quot;));</span>
<span class="lineNum">    1313 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1314 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1315 </span><span class="lineNoCov">          0 :   Parse(ex7_24);</span>
<a name="1316"><span class="lineNum">    1316 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1317 </span>            : 
<span class="lineNum">    1318 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_1_BlockScalarHeader) {</span>
<span class="lineNum">    1319 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1320 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1321 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;literal\n&quot;));</span>
<span class="lineNum">    1322 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot; folded\n&quot;));</span>
<span class="lineNum">    1323 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;keep\n\n&quot;));</span>
<span class="lineNum">    1324 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot; strip&quot;));</span>
<span class="lineNum">    1325 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1326 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1327 </span><span class="lineNoCov">          0 :   Parse(ex8_1);</span>
<a name="1328"><span class="lineNum">    1328 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1329 </span>            : 
<span class="lineNum">    1330 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_2_BlockIndentationHeader) {</span>
<span class="lineNum">    1331 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1332 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1333 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;detected\n&quot;));</span>
<span class="lineNum">    1334 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\n\n# detected\n&quot;));</span>
<span class="lineNum">    1335 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot; explicit\n&quot;));</span>
<span class="lineNum">    1336 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\t\ndetected\n&quot;));</span>
<span class="lineNum">    1337 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1338 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1339 </span><span class="lineNoCov">          0 :   Parse(ex8_2);</span>
<a name="1340"><span class="lineNum">    1340 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1341 </span>            : 
<span class="lineNum">    1342 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_3a_InvalidBlockScalarIndentationIndicators) {</span>
<span class="lineNum">    1343 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex8_3a), ErrorMsg::END_OF_SEQ);</span>
<a name="1344"><span class="lineNum">    1344 </span>            : }</a>
<span class="lineNum">    1345 </span>            : 
<span class="lineNum">    1346 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_3b_InvalidBlockScalarIndentationIndicators) {</span>
<span class="lineNum">    1347 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex8_3b), ErrorMsg::END_OF_SEQ);</span>
<a name="1348"><span class="lineNum">    1348 </span>            : }</a>
<span class="lineNum">    1349 </span>            : 
<span class="lineNum">    1350 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_3c_InvalidBlockScalarIndentationIndicators) {</span>
<span class="lineNum">    1351 </span><span class="lineNoCov">          0 :   EXPECT_THROW_PARSER_EXCEPTION(IgnoreParse(ex8_3c), ErrorMsg::END_OF_SEQ);</span>
<a name="1352"><span class="lineNum">    1352 </span>            : }</a>
<span class="lineNum">    1353 </span>            : 
<span class="lineNum">    1354 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_4_ChompingFinalLineBreak) {</span>
<span class="lineNum">    1355 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1356 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1357 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;strip&quot;));</span>
<span class="lineNum">    1358 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text&quot;));</span>
<span class="lineNum">    1359 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;clip&quot;));</span>
<span class="lineNum">    1360 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text\n&quot;));</span>
<span class="lineNum">    1361 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;keep&quot;));</span>
<span class="lineNum">    1362 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;text\n&quot;));</span>
<span class="lineNum">    1363 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1364 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1365 </span><span class="lineNoCov">          0 :   Parse(ex8_4);</span>
<a name="1366"><span class="lineNum">    1366 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1367 </span>            : 
<span class="lineNum">    1368 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, DISABLED_Ex8_5_ChompingTrailingLines) {</span>
<span class="lineNum">    1369 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1370 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1371 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;strip&quot;));</span>
<span class="lineNum">    1372 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;# text&quot;));</span>
<span class="lineNum">    1373 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;clip&quot;));</span>
<span class="lineNum">    1374 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;# text\n&quot;));</span>
<span class="lineNum">    1375 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;keep&quot;));</span>
<span class="lineNum">    1376 </span>            :   // NOTE: I believe this is a bug in the YAML spec -
<span class="lineNum">    1377 </span>            :   // it should be &quot;# text\n\n&quot;
<span class="lineNum">    1378 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;# text\n&quot;));</span>
<span class="lineNum">    1379 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1380 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1381 </span><span class="lineNoCov">          0 :   Parse(ex8_5);</span>
<a name="1382"><span class="lineNum">    1382 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1383 </span>            : 
<span class="lineNum">    1384 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_6_EmptyScalarChomping) {</span>
<span class="lineNum">    1385 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1386 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1387 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;strip&quot;));</span>
<span class="lineNum">    1388 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;&quot;));</span>
<span class="lineNum">    1389 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;clip&quot;));</span>
<span class="lineNum">    1390 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;&quot;));</span>
<span class="lineNum">    1391 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;keep&quot;));</span>
<span class="lineNum">    1392 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\n&quot;));</span>
<span class="lineNum">    1393 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1394 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1395 </span><span class="lineNoCov">          0 :   Parse(ex8_6);</span>
<a name="1396"><span class="lineNum">    1396 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1397 </span>            : 
<span class="lineNum">    1398 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_7_LiteralScalar) {</span>
<span class="lineNum">    1399 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1400 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;literal\n\ttext\n&quot;));</span>
<span class="lineNum">    1401 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1402 </span><span class="lineNoCov">          0 :   Parse(ex8_7);</span>
<a name="1403"><span class="lineNum">    1403 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1404 </span>            : 
<span class="lineNum">    1405 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_8_LiteralContent) {</span>
<span class="lineNum">    1406 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1407 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;\n\nliteral\n \n\ntext\n&quot;));</span>
<span class="lineNum">    1408 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1409 </span><span class="lineNoCov">          0 :   Parse(ex8_8);</span>
<a name="1410"><span class="lineNum">    1410 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1411 </span>            : 
<span class="lineNum">    1412 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_9_FoldedScalar) {</span>
<span class="lineNum">    1413 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1414 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;folded text\n&quot;));</span>
<span class="lineNum">    1415 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1416 </span><span class="lineNoCov">          0 :   Parse(ex8_9);</span>
<a name="1417"><span class="lineNum">    1417 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1418 </span>            : 
<span class="lineNum">    1419 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_10_FoldedLines) {</span>
<span class="lineNum">    1420 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1421 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1422 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">    1423 </span>            :                        &quot;\nfolded line\nnext line\n  * bullet\n\n  * list\n  * &quot;
<span class="lineNum">    1424 </span><span class="lineNoCov">          0 :                        &quot;lines\n\nlast line\n&quot;));</span>
<span class="lineNum">    1425 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1426 </span><span class="lineNoCov">          0 :   Parse(ex8_10);</span>
<a name="1427"><span class="lineNum">    1427 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1428 </span>            : 
<span class="lineNum">    1429 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_11_MoreIndentedLines) {</span>
<span class="lineNum">    1430 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1431 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1432 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">    1433 </span>            :                        &quot;\nfolded line\nnext line\n  * bullet\n\n  * list\n  * &quot;
<span class="lineNum">    1434 </span><span class="lineNoCov">          0 :                        &quot;lines\n\nlast line\n&quot;));</span>
<span class="lineNum">    1435 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1436 </span><span class="lineNoCov">          0 :   Parse(ex8_11);</span>
<a name="1437"><span class="lineNum">    1437 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1438 </span>            : 
<span class="lineNum">    1439 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_12_EmptySeparationLines) {</span>
<span class="lineNum">    1440 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1441 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1442 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">    1443 </span>            :                        &quot;\nfolded line\nnext line\n  * bullet\n\n  * list\n  * &quot;
<span class="lineNum">    1444 </span><span class="lineNoCov">          0 :                        &quot;lines\n\nlast line\n&quot;));</span>
<span class="lineNum">    1445 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1446 </span><span class="lineNoCov">          0 :   Parse(ex8_12);</span>
<a name="1447"><span class="lineNum">    1447 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1448 </span>            : 
<span class="lineNum">    1449 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_13_FinalEmptyLines) {</span>
<span class="lineNum">    1450 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1451 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1452 </span>            :               OnScalar(_, &quot;!&quot;, 0,
<span class="lineNum">    1453 </span>            :                        &quot;\nfolded line\nnext line\n  * bullet\n\n  * list\n  * &quot;
<span class="lineNum">    1454 </span><span class="lineNoCov">          0 :                        &quot;lines\n\nlast line\n&quot;));</span>
<span class="lineNum">    1455 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1456 </span><span class="lineNoCov">          0 :   Parse(ex8_13);</span>
<a name="1457"><span class="lineNum">    1457 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1458 </span>            : 
<span class="lineNum">    1459 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_14_BlockSequence) {</span>
<span class="lineNum">    1460 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1461 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1462 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;block sequence&quot;));</span>
<span class="lineNum">    1463 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1464 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1465 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1466 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1467 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;three&quot;));</span>
<span class="lineNum">    1468 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1469 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1470 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1471 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1472 </span><span class="lineNoCov">          0 :   Parse(ex8_14);</span>
<a name="1473"><span class="lineNum">    1473 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1474 </span>            : 
<span class="lineNum">    1475 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_15_BlockSequenceEntryTypes) {</span>
<span class="lineNum">    1476 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1477 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1478 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1479 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;block node\n&quot;));</span>
<span class="lineNum">    1480 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1481 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1482 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1483 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1484 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1485 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1486 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1487 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1488 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1489 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1490 </span><span class="lineNoCov">          0 :   Parse(ex8_15);</span>
<a name="1491"><span class="lineNum">    1491 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1492 </span>            : 
<span class="lineNum">    1493 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_16_BlockMappings) {</span>
<span class="lineNum">    1494 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1495 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1496 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;block mapping&quot;));</span>
<span class="lineNum">    1497 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1498 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;key&quot;));</span>
<span class="lineNum">    1499 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1500 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1501 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1502 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1503 </span><span class="lineNoCov">          0 :   Parse(ex8_16);</span>
<a name="1504"><span class="lineNum">    1504 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1505 </span>            : 
<span class="lineNum">    1506 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_17_ExplicitBlockMappingEntries) {</span>
<span class="lineNum">    1507 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1508 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1509 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;explicit key&quot;));</span>
<span class="lineNum">    1510 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1511 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;block key\n&quot;));</span>
<span class="lineNum">    1512 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1513 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;one&quot;));</span>
<span class="lineNum">    1514 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;two&quot;));</span>
<span class="lineNum">    1515 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1516 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1517 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1518 </span><span class="lineNoCov">          0 :   Parse(ex8_17);</span>
<a name="1519"><span class="lineNum">    1519 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1520 </span>            : 
<span class="lineNum">    1521 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_18_ImplicitBlockMappingEntries) {</span>
<span class="lineNum">    1522 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1523 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1524 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;plain key&quot;));</span>
<span class="lineNum">    1525 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;in-line value&quot;));</span>
<span class="lineNum">    1526 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1527 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnNull(_, 0));</span>
<span class="lineNum">    1528 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;quoted key&quot;));</span>
<span class="lineNum">    1529 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1530 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;entry&quot;));</span>
<span class="lineNum">    1531 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1532 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1533 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1534 </span><span class="lineNoCov">          0 :   Parse(ex8_18);</span>
<a name="1535"><span class="lineNum">    1535 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1536 </span>            : 
<span class="lineNum">    1537 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_19_CompactBlockMappings) {</span>
<span class="lineNum">    1538 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1539 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1540 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1541 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sun&quot;));</span>
<span class="lineNum">    1542 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;yellow&quot;));</span>
<span class="lineNum">    1543 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1544 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1545 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1546 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;earth&quot;));</span>
<span class="lineNum">    1547 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;blue&quot;));</span>
<span class="lineNum">    1548 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1549 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1550 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;moon&quot;));</span>
<span class="lineNum">    1551 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;white&quot;));</span>
<span class="lineNum">    1552 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1553 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1554 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1555 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1556 </span><span class="lineNoCov">          0 :   Parse(ex8_19);</span>
<a name="1557"><span class="lineNum">    1557 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1558 </span>            : 
<span class="lineNum">    1559 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_20_BlockNodeTypes) {</span>
<span class="lineNum">    1560 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1561 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1562 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;flow in block&quot;));</span>
<span class="lineNum">    1563 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;Block scalar\n&quot;));</span>
<span class="lineNum">    1564 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1565 </span><span class="lineNoCov">          0 :               OnMapStart(_, &quot;tag:yaml.org,2002:map&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1566 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">    1567 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">    1568 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1569 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1570 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1571 </span><span class="lineNoCov">          0 :   Parse(ex8_20);</span>
<a name="1572"><span class="lineNum">    1572 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1573 </span>            : 
<span class="lineNum">    1574 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, DISABLED_Ex8_21_BlockScalarNodes) {</span>
<span class="lineNum">    1575 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1576 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1577 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;literal&quot;));</span>
<span class="lineNum">    1578 </span>            :   // NOTE: I believe this is a bug in the YAML spec
<span class="lineNum">    1579 </span>            :   // - it should be &quot;value\n&quot;
<span class="lineNum">    1580 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1581 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;folded&quot;));</span>
<span class="lineNum">    1582 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;!foo&quot;, 0, &quot;value&quot;));</span>
<span class="lineNum">    1583 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1584 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1585 </span><span class="lineNoCov">          0 :   Parse(ex8_21);</span>
<a name="1586"><span class="lineNum">    1586 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1587 </span>            : 
<span class="lineNum">    1588 </span><span class="lineNoCov">          0 : TEST_F(HandlerSpecTest, Ex8_22_BlockCollectionNodes) {</span>
<span class="lineNum">    1589 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentStart(_));</span>
<span class="lineNum">    1590 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapStart(_, &quot;?&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1591 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;sequence&quot;));</span>
<span class="lineNum">    1592 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;tag:yaml.org,2002:seq&quot;, 0,</span>
<span class="lineNum">    1593 </span><span class="lineNoCov">          0 :                                        EmitterStyle::Block));</span>
<span class="lineNum">    1594 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;entry&quot;));</span>
<span class="lineNum">    1595 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceStart(_, &quot;tag:yaml.org,2002:seq&quot;, 0,</span>
<span class="lineNum">    1596 </span><span class="lineNoCov">          0 :                                        EmitterStyle::Block));</span>
<span class="lineNum">    1597 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;nested&quot;));</span>
<span class="lineNum">    1598 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1599 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnSequenceEnd());</span>
<span class="lineNum">    1600 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;mapping&quot;));</span>
<span class="lineNum">    1601 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler,</span>
<span class="lineNum">    1602 </span><span class="lineNoCov">          0 :               OnMapStart(_, &quot;tag:yaml.org,2002:map&quot;, 0, EmitterStyle::Block));</span>
<span class="lineNum">    1603 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;foo&quot;));</span>
<span class="lineNum">    1604 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnScalar(_, &quot;?&quot;, 0, &quot;bar&quot;));</span>
<span class="lineNum">    1605 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1606 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnMapEnd());</span>
<span class="lineNum">    1607 </span><span class="lineNoCov">          0 :   EXPECT_CALL(handler, OnDocumentEnd());</span>
<span class="lineNum">    1608 </span><span class="lineNoCov">          0 :   Parse(ex8_22);</span>
<a name="1609"><span class="lineNum">    1609 </span><span class="lineNoCov">          0 : }</span></a>
<span class="lineNum">    1610 </span>            : }
<span class="lineNum">    1611 </span><span class="lineNoCov">          0 : }</span>
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
    <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.11</a></td></tr>
  </table>
  <br>

</body>
</html>
